package com.lean.android.ad.workflow

import androidx.annotation.RestrictTo

@RestrictTo(RestrictTo.Scope.LIBRARY)
interface WorkFlowNode {

    fun enterCondition(): Boolean{
        return true
    }

    fun enter(workFlow: WorkFlow)

    fun exit(workFlow: WorkFlow) {
        workFlow.next()
    }

}